// out: ./index.wxss
.banner {
    width: 100%;
    height: 300rpx;
}

.bannerItem image {
    width: 100%;
    height: 100%;
}

.navContainer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 5;
    margin-top: 20rpx;
}

.navItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    font-size: 26rpx;
}


.iconfont {
    width: 100rpx;
    height: 100rpx;
    border-radius: 50%;
    text-align: center;
    line-height: 100rpx;
    background: rgb(240, 19, 19);
    font-size: 50rpx;
}


.recommendContainer {
    margin-top: 20rpx;
}

.recommendContainer .title {
    font-size: 32rpx;
    line-height: 80rpx;
    color: #666;
}

.recommendContainer .text {
    display: flex;
    justify-content: space-between;
    margin-top: 10rpx;
}

.recommendContainer .more {
    float: right;
    border: 1rpx solid #333;
    padding: 10rpx 20rpx;
    font-size: 24rpx;
    border-radius: 30rpx;
}

.recommendScroll {
    display: flex;
    margin-top: 20rpx;
}

.scrollItem {
    margin-right: 30rpx;
    width: 200rpx;
    height: 300rpx;
}

.scrollItem image {
    width: 200rpx;
    height: 200rpx;
    border-radius: 20rpx;
}

.scrollItem .name {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    font-size: 26rpx;
}

/* 排行榜 */
.rankSwiper {
    padding-left: 50rpx;
    padding-top: 20rpx;
    height: 450rpx;

    .swiperItem {
        background: #fbfbfb;

        .title {
            font-size: 30rpx;
            line-height: 80rpx;
        }

        .item {
            display: flex;
            margin-bottom: 20rpx;

            image {
                width: 100rpx;
                height: 100rpx;
                border-radius: 8rpx;
            }

            .count {
                width: 100rpx;
                height: 100rpx;
                text-align: center;
                line-height: 100rpx;
            }

            .songName {
                height: 100rpx;
                line-height: 100rpx;
                max-width: 400rpx;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }
    }

}